@import "../index";

@avatar-list-prefix-cls: ~"@{css-prefix}-avatar-list";
@avatar-list-item-prefix-cls: ~"@{css-prefix}-avatar-list-item";

.@{avatar-list-prefix-cls} {
  display: inline-block;

  ul {
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0 0 0 8px;
    font-size: 0;
  }
}

.@{avatar-list-item-prefix-cls} {
  display: inline-block;
  font-size: @font-size-base;
  margin-left: -8px;
  width: @avatar-size-base;
  height: @avatar-size-base;

  :global {
    .ivu-avatar {
      border: 1px solid #fff;
      cursor: pointer;
    }
  }

  &.large {
    width: @avatar-size-lg;
    height: @avatar-size-lg;
  }

  &.small {
    width: @avatar-size-sm;
    height: @avatar-size-sm;
  }

  &.mini {
    width: 20px;
    height: 20px;

    :global {
      .ivu-avatar {
        width: 20px;
        height: 20px;
        line-height: 20px;

        .ivu-avatar-string {
          font-size: 12px;
          line-height: 18px;
        }
      }
    }
  }
}

